All Questions
13 questions
0votes
1answer
532views
Can we hide the Sync on all the current sites and future sites using UI or using PowerShell
I know that we can hide the Sync button for a document library or for all the document libraries inside a site as mentioned in this link https://www.sharepointdiary.com/2017/08/disable-sync-button-in-...
0votes
2answers
306views
SPO multiple subsite renaming - powershell
Excel played a little trick on me removing 0 and 00 in front of subsites URL for a migration I did. I migrated subsites from on premise farm to online using a CSV, but without noticing, excel removed ...
0votes
1answer
96views
SP Online site collection ID
I need to create an SP online Team site (with Office 365 group) with PowerShell. Can you please help me find the Template ID for the Team site (with Office 365 group)?
0votes
1answer
964views
How to autologin in Office-365 in PowerShell script hosted in Task Scheduler
I created PowerShell script that runs well in PowerShell-ISE. It autologin with credential popup and works as expected. Problem: While same script I added to Task Scheduler then it prompts credential ...
0votes
1answer
660views
Restore all permissions on a sharepoint site Sharepoint Online
Restore all permissions on a sharepoint site, we have a sharepoint site that I have deleted several permissions at random and so I will need to restore the permissions (go back to the 05/29/2021 ...
0votes
2answers
214views
Is Custom Script Enabling required for PNP PowerShell?
We are generating a PNP PowerShell to copy any document library files to file share. The issue we are facing is with "Get-PnPListItem" command. When we try with a tenant that has custom ...
0votes
1answer
234views
SPOSiteSwap : Errors: [1]; Warnings: [0]; Details: The Site is not a communications site or it has the classic publishing feature enabled
SPOSiteSwap: Errors: [1]; Warnings: [0]; Details: The Site is not a communications site or it has the classic publishing feature enabled. Trying to replace the communication site with modern team ...
1vote
2answers
2kviews
PowerShell to get all O365 groups
I am working on PowerShell script where I have to get the all the O365 groups using PowerShell with minimal permission. Please share the supporting articles to get the O365 groups and permission ...
1vote
1answer
3kviews
Alternative PnP commands to SharePoint Online Commands
Are there any alternative PnP commands to SharePoint Online Commands such as: Connect-SPOService Disconnect-SPOService Set-SPOUser Set-SPOSite Get-SPOSite Add-SPOSiteCollectionAppCatalog Thank you in ...
1vote
0answers
636views
Read webpart Data - Sharepoint Online powershell
I have a requirement where I need to find if there is a table in the pages on my website. I thought of writing a PowerShell script for getting all the webparts in the page and reading the content ...
1vote
1answer
4kviews
understanding set-pnplistitempermission
I am trying to use the following cmdlet in the pnp module on O365 and one of the parameters for the cmdlet is -identity -Identity The ID of the listitem, or actual ListItem object Type: ...
0votes
1answer
941views
How i can inject a javascript file inside my site collection using pnp-powershell [closed]
I want to inject a JavaScript inside my sharepoint online site collection. now i find this command which sound provide the functionality i need Add-SPOJavaScriptLink link but i am not sure how i ...
0votes
2answers
2kviews
how to access Search and Offline Availability in office 365
how to access Search and Offline Availability in office 365, to disable search results ?